package org.example.service;

import org.example.common.Result;
import org.example.pojo.Query;
import org.example.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
* @author 13326
* @description 针对表【hards_user】的数据库操作Service
* @createDate 2025-01-06 11:12:33
*/
@Service
public interface UserService extends IService<User> {

    Result login(User user);

    Result registry(User user);

    Result getlist(Query query);

    Result add(User user);

    Result updateuser(User user);

    Result delete(Integer id);
}
